home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / othergnu / less-1~1.zoo / readme.st < prev    next >
Encoding:
Text File  |  1992-05-03  |  2.1 KB  |  51 lines

  1. This is my port of GNU Less 1.77 for the Atari ST.
  2.  
  3. Not much work involved--I had to modify the linstall script (I
  4. keep all my executables as .ttp files, and since I use BASH under
  5. MiNT, it doesn't automatically search for them, so I edited the
  6. script to explicitly call them).
  7.  
  8. From there, I told the system that I was on a BSD 4.1 machine.  I
  9. think BSD 4.2 will work as well, but I didn't feel like taking
  10. chances.
  11.  
  12. When linstall was done, it produced the makefile and defines.h. 
  13. I went into defines.h and changed two things.  First, I changed
  14. the default editor from vi to me.ttp.  This reflects my own
  15. personal setup.  Change this to whatever you like.  Then I
  16. changed the default help file location to /etc/less.hlp.  Again,
  17. this reflects my personal setup.  Change it if you like.
  18.  
  19. I then hacked the makefile a bit to reflect my personal setup. 
  20. It also makes the defaults .ttp programs.
  21.  
  22. I ran make (my port of GNU Make 3.62 that I've found to be
  23. utterly reliable, whereas the older, 3.59 port that I had would
  24. invariably error out after 10+ source files), and got errors
  25. saying that the functions _re_comp and _re_exec were not found. 
  26. I checked the header file with the PatchLevel 79 libraries, and
  27. found that they don't use standard BSD or standard SYS V names
  28. (re_comp and re_exec or regcmp and regexc respectively).  I
  29. changed the references in search.c to regcomp and regexec.
  30.  
  31. I then recompiled.  The loader complained that it couldn't find
  32. the function _regerror.  I had been told that this had to be a
  33. user supplied function, so I wrote one that conforms to the
  34. prototype in regexp.h.  It's in the file regerror.c.
  35.  
  36. I then recompiled again.  Clean!
  37.  
  38. Of course, I did this before, but then I found out about the
  39. regerror thing, so I could put full support for regular
  40. expression searches.
  41.  
  42.  
  43. Hope you like it.  My earlier port has been stone-cold reliable,
  44. but it was compiled with GCC 1.40 and the MiNT libraries at
  45. PatchLevel 19.  This is GCC 2.1 with the GNU libraries at
  46. PatchLevel 79.  This shouldn't make a difference.
  47.  
  48. Enjoy!
  49.  
  50. Mike.
  51.